﻿
namespace MvcApplication.Entity
{
    public class Pager
    {
        public Pager() { }

        public Pager(int pageIndex)
        {
            this.PageIndex = pageIndex;
        }

        public Pager(int pageIndex, int pageSize)
        {
            this.PageIndex = pageIndex;
            this.PageSize = PageSize;
        }

        int _pageIndex = 1;

        public int PageIndex { get { return _pageIndex; } set { _pageIndex = value; } }

        int _pageSize = 12;

        public int PageSize { get { return _pageSize; } set { _pageSize = value; } }
    }
}
